#include "globalPara.h"
#include "backupdatadialog.h"
#include "ui_backupdatadialog.h"

backupDataDialog::backupDataDialog(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::backupDataDialog)
{
    ui->setupUi(this);
    QString fileName("noteData_");
    QDate date = QDate::currentDate();
    fileName = fileName + date.toString(Qt::ISODate) + ".ldc";
    ui->textEdit_FileName->setText(fileName);
}

backupDataDialog::~backupDataDialog()
{
    delete ui;
}

QString backupDataDialog::getFileName()
{
    return ui->textEdit_FileName->toPlainText();
}
